//
//  SISSExcelContentCollectionViewCell.m
//  SISSAPP
//
//  Created by 袁应荣 on 2018/8/6.
//  Copyright © 2018年 优房网. All rights reserved.
//

#import "SISSExcelContentCollectionViewCell.h"

@implementation SISSExcelContentCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self initUI];
        [self initConstraint];
    }
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    if (self = [super initWithCoder:aDecoder]) {
        [self initUI];
        [self initConstraint];
    }
    return self;
}

- (void)initUI {
    
    self.backgroundColor = [UIColor whiteColor];
    UILabel *contentLabel = [[UILabel alloc] init];
    contentLabel.textColor = MAIN_TEXT_COLOR;
    contentLabel.textAlignment = NSTextAlignmentCenter;
    [self.contentView addSubview:contentLabel];
    self.contentLabel = contentLabel;
    
}

- (void)initConstraint {
    
    WeakSelf
    [self.contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(weakSelf.contentView);
    }];
}


@end
